const app = getApp()
Component({
  options: {
    addGlobalClass: true
  }, 
  properties: {

  }, 
  data: { 
      core:{ 
        coveredArea:0,
        insideArea:0,
        room:0,
        parlor:0,
        toilet:0,
        balcony:0,
        basement:0,
        carport:0,
        gardenArea:0,
        totalFloor:0,
        interlayerHeight:0,
        interlayer:0,
        lift:0,
        householdStorey:0,
      },
  },
 attached(){
   console.log("组件进入时渲染", app.globalData.ztSpace  );
    this.setData({ core: Object.assign({},this.data.core,app.globalData.ztSpace),    });
  },
  methods: {
    change(e) {   
     
    },
  }
})
